package com.controller;

import com.alibaba.fastjson.JSONObject;
import com.entity.UserInfo;
import com.entity.chat.*;
import com.service.ChatmsgService;
import com.service.FriendsService;
import com.service.UserInfoService;
import com.util.StatusCode;
import com.vo.ResultVo;
import org.apache.commons.io.FilenameUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpSession;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
@Controller
public class CarController {
	/* 购物车控制类 */
	 /**
     *后台管理界面，查看审核通过的拼车订单
     * **/
    @GetMapping("/con/audrentcar")
    public String AudRentCar (){
        return "/admin/RentCar/AudRentCar";
    }
    
    /**
     *后台管理界面，查看审核未通过的拼车订单
     * **/
    @GetMapping("/con/Unaudrentcar")
    public String UnAudRentCar (){
        return "/admin/RentCar/UnAudRentCar";
    }


/**
 *合租
 * **/
@GetMapping("/html/rent")
public String Rent (){
    return "/common/rent";
}

/**
 *合租详情页
 * **/
@GetMapping("/html/rc-detail")
public String Rcdetail (){
    return "/common/rc-detail";
}

/**
 *拼车
 * **/
@GetMapping("/html/car")
public String Car (){
    return "/common/car";
}


}
